import { ErrorCode } from './errorCode';

export const enMessages: Record<ErrorCode, string> = {
  [ErrorCode.VALIDATION]: 'Validation failed',
  [ErrorCode.USER_EXIST]: 'User already exists',
  [ErrorCode.USER_NOT_FOUND]: 'Account not found',
  [ErrorCode.PASSWORD_INCORRECT]: 'Incorrect password',
  [ErrorCode.UNAUTHORIZED]: 'Unauthorized',
  [ErrorCode.FORBIDDEN]: 'Forbidden',
  [ErrorCode.CONFLICT]: 'Conflict occurred',
  [ErrorCode.SERVER_ERROR]: 'Internal server error'
};
